package com.itita.ww2.data.shop;

import com.smartfoxserver.v2.entities.data.ISFSObject;

public class ShopConfig {
	public static boolean isLoaded;

	private static ISFSObject commonItemShopGoods; // 普通物品商店
	
	private static ISFSObject resShopGoods; // 资源商店
	// 

	public static final void init(ISFSObject data) {
		commonItemShopGoods = data.getSFSObject("common_item");
		
		resShopGoods = data.getSFSObject("resource");
		// 
		isLoaded = true;
	}

	/**
	 * 获取资源商店商品列表
	 */
	public static final ISFSObject getResourceShopItems() {
		return resShopGoods;
	}

	/**
	 * 获取普通物品商店商品列表
	 */
	public static final ISFSObject getCommonItemShopItems() {
		return commonItemShopGoods;
	}
}
